<div style="margin: 15px 0px 0px 15px">
	<h3>Chỉnh sửa chế độ giảm giá</h3><hr />
	<div style="margin-top: 30px;  margin-left: 60px;">
	<div style="background: yellow;">
		<?php echo validation_errors();?>	
	</div>
		<?php $attrs = array('class'=>'frm_add_customer', 'id'=>'frm_add_customer')?>
		<?php echo form_open_multipart(base_url().'index.php/price_policy/update/'.$pp['id'], $attrs)?>
		<table cellpadding="10">
			<tr>
				<td width="150"><?php echo form_label('Value')?></td>
				<td><?php echo form_input(array('name'=>'value', 'size'=>'30', 'value' => $pp['value'] ))?></td>
			</tr>
			<tr>
				<td><?php echo form_label('Icon')?></td>
				<td><img src = "<?php echo base_url().$pp['icon']; ?>" ></td>
			</tr>
			<tr>
				<td>Upload new Icon</td>
				<td><?php /*echo form_upload(array('name'=>'avatar'))*/?>
				<input type="file" name="icon" id="icon" size="20" />
				</td>
			</tr>
			<tr>
				<td></td>
				<td>
					<?php echo form_submit(array('name'=>'submit','value'=>'Update'))?>
					<?php echo form_reset(array('name'=>'reset', 'value'=>'Nhập lại'))?>
				</td>
			</tr>
		</table>
	</form>
	</div>
</div>